;
require.config({
	baseUrl : ctxp || '/',
	paths : {
		// lib
		moment : './core/js/moment',
		jqueryForm : './core/js/jquery.form',
		bootstrap : './core/js/bootstrap.min',
		notify : './core/js/bootstrap-notify.min',
		validation : './core/js/bootstrapValidator.min',
		echarts : './core/js/echarts-min',

		// suredy's js
		suredy : './js_new/suredy',
		suredyTreeMenu : './js_new/suredy-tree-menu',
		suredyTree : './js_new/suredy-tree',
		suredyList : './js_new/suredy-list',
		suredyModal : './js_new/suredy-modal',
		suredyDatetimepicker : './js_new/suredy-datetimepicker',
		suredyTreeSelector : './js_new/suredy-tree-selector',
	},
	shim : {
		jqueryForm : [ 'jquery' ],
		bootstrap : [ 'jquery' ],
		notify : [ 'bootstrap' ],
		validation : [ 'bootstrap' ]
	}
});

require([ 'suredy', 'bootstrap' ], function($d) {
	// init context path to Suredy
	$d.contextPath = ctxp;
	$d.ctxp = ctxp;
});